// pages/order_off/order_off.js
Page({
  /**
   * 页面的初始数据
   */
  data: {
    /* radio */
    current: "用户原因(不洗了/放错了)",
    errorTypes: [
      { id: 1, name: "用户原因(不洗了/放错了)" },
      { id: 2, name: "设备故障(不工作/报警/无反应等)" },
      { id: 3, name: "其他问题" }
    ],

    /* checkbox */
    items: [{ name: "refund", value: "申请退款" }]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function(options) {},
  errorTypeChange({ detail = {} }) {
    // console.log('detail',detail)
    this.setData({
      current: detail.value
    });
  },
  checkboxChange(){},
  bindTextAreaBlur: function(e) {
    console.log(e.detail.value)
  },
});
